package com.zjh.workflow.flowable.service;

import com.zjh.admin.entity.VO.SysUserVO;
import com.zjh.common.entity.Response;
import com.zjh.workflow.flowable.entity.TaskInputParam;
import com.zjh.workflow.flowable.entity.wrapper.FlowTaskDto;

import java.util.List;

public interface TaskHandleService {


    /**
     * 获取待办
     */
    List<FlowTaskDto> getTodoList(SysUserVO sysUserVO);

    /**
     * 同意流程
     */
    void approveTask(TaskInputParam taskInputParam);

    /**
     * 驳回流程
     */
    Response<String> backToStepTask(TaskInputParam taskInputParam);

    /**
     * 流程终止
     */
    Response<String> stopProcessInstanceById(TaskInputParam taskInputParam);

}
